use std::io::{self, Write};
use std::io::Stdout;

use structopt::lazy_static::lazy_static;
lazy_static!{
    static ref STD:Stdout = io::stdout();
}
    

pub fn write_out(str: String) {
    let mut handle: io::StdoutLock = STD.lock();
    writeln!(handle, "{}", str).unwrap();
}